<?php
function monthNamed2Numbers($month) {
if(is_string($month))
	$month = strtolower($month);
switch ($month){
		case 'jan': 
			$numb='01'; 
			break;
		case 'feb': 
			$numb='02'; 
			break;
		case 'mar': 
			$numb='03'; 
			break;
		case 'apr': 
			$numb='04'; 
			break;
		case 'may': 
			$numb='05'; 
			break;
		case 'jun': 
			$numb='06';
			 break;
		case 'jul': 
			$numb='07'; 
			break;
		case 'aug': 
			$numb='08';
			break;
		case 'sept': 
			$numb='09'; 
			break;
		case 'oct': 
			$numb='10'; 
			break;
		case 'nov': 
			$numb='11'; 
			break;
		case 'dec': 
			$numb='12'; 
			break;
		default:
			$numb=false;
	}
	return $numb;
}
?>